import { defineStore } from 'pinia';

export const useServerStore = defineStore('server', {
    actions: {},


    state: () => ({
        // ghyComputerIp: 'http://10.82.11.45:9207/'
        // ghyComputerIp: 'http://' + document.location.hostname + ':' + window.location.port + "/"
        ghyComputerIp: import.meta.env.DEV?'http://10.248.219.71:207/':'http://' + document.location.hostname + ':' + window.location.port + "/"
    }),

    getters: {},
})
